import axios from '../http/axios'



export default {
    //---------------------------------登录-------------------------------------
    login(data){
        return axios({
            url:'/users/login',
            method:"POST",
            data
        })
    },
    //---------------------------------注册-------------------------------------
    register(data){
        return axios({
            url:'/users/register',
            method:'POST',
            data
        })
    },
}










